package org.huang.properties.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @描述: 属性占位符的实体类
 * @作者 Mr.Huang
 * @创建时间 2017-08-08
 * @版本: 1.0
 */
@Component
public class PlaceholderBean {


    @Value("${my.placeholder.text}")
    private String text;

    @Value("${my.placeholder.say}")
    private String say;


    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "PlaceholderBean{" +
                "text='" + text + '\'' +
                ", say='" + say + '\'' +
                '}';
    }
}
